package com.chinacoal.microservice.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhuliang
 * @version V1.0
 * @Description: 房源管理——户型管理
 * @date 2020-11-11 11：16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "房源管理——户型管理-实体")
public class CcmsSmartleasingHouseType implements Serializable {

    @ApiModelProperty(value = "主键")
    @TableId(value = "pk_house_type_id")
    private String pkHouseTypeId;

    @ApiModelProperty(value = "户型名称")
    private String houseTypeName;

    @ApiModelProperty(value = "实用面积")
    private String usableArea;

    @ApiModelProperty(value = "房间朝向ID")
    private String roomFacing;

    @ApiModelProperty(value = "房间户型外键")
    private String fkRoomTypeId;

    @ApiModelProperty(value = "配套设施ID,多选字段")
    private String supportingFacilities;

    @ApiModelProperty(value = "户型图路径，多图")
    private String apartmentRenderings;

    @ApiModelProperty(value = "创建人")
    private Integer createdBy;

    @ApiModelProperty(value = "创建时间")
    private Date creationDate;

    @ApiModelProperty(value = "最后变更人")
    private Integer lastUpdatedBy;

    @ApiModelProperty(value = "最后变更时间")
    private Date lastUpdateDate;

    @ApiModelProperty(value = "删除标记,默认为'false'")
    private Byte deleteSign;

    @ApiModelProperty(value = "楼宇外键id")
    private String fkBuildingId;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "建筑面积")
    private String constructionArea;



    @ApiModelProperty(value = "房间朝向信息（查询用）")
    @TableField(exist = false)
    private String orientation;

    @ApiModelProperty(value = "房屋户型信息（查询用）")
    @TableField(exist = false)
    private String roomType;

    @ApiModelProperty(value = "配套设施ID数组(查询用)")
    @TableField(exist = false)
    private String[] supportingFacilitiesList;

    @ApiModelProperty(value = "户型图路径数组(查询用)")
    @TableField(exist = false)
    private String[] apartmentRenderingsList;

    @ApiModelProperty(value = "楼宇名称")
    @TableField(exist = false)
    private String buildingName;

    @ApiModelProperty(value = "旧楼宇外键id")
    @TableField(exist = false)
    private String oldFkBuildingId;

    private static final long serialVersionUID = 1L;

}
